package cn.powertime.evaluation.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(description="章节对象")
public class WebRespChapterListVo implements Serializable {
    @ApiModelProperty(value="ID",name="id")
    private Long id;
    @ApiModelProperty(value="PID",name="pid")
    private Long pid;
    @ApiModelProperty(value="章节名称",name="name")
    private String name;
    /**
     * 0:未学习
     * 1：学习中
     * 2:学习完成
     */
    @ApiModelProperty(value="学习状态0：未学习，1：学习中，2:学习完成",name="studyStatus")
    private Integer studyStatus;
    @JsonIgnore
    private String tempStatus;
    @JsonIgnore
    private Integer num;

    private List<WebRespChapterListVo> child;

}
